export interface ResultSchema<D = any> {
  success: boolean
  code: number
  message?: string
  timestamp?: string
  data?: D
}
export type DataExtact<R> = R extends ResultSchema ? R['data'] : R
